home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19990422-19990725
/
000131_news@watsun.cc.columbia.edu _Tue Jun 8 10:55:06 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@watsun.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA17037
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 8 Jun 1999 10:55:05 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA01986
for kermit.misc@watsun.cc.columbia.edu; Tue, 8 Jun 1999 10:46:12 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: Re: Contents of Kermit lock file?
Date: 8 Jun 1999 14:46:08 GMT
Organization: Columbia University
Message-ID: <7jjabh$1tv$1@newsmaster.cc.columbia.edu>
To: kermit.misc@watsun.cc.columbia.edu
In article <7jj45v$k4t$1@nnrp1.deja.com>, <bkomar@acm.org> wrote:
: Can someone tell me what data is contained in the lock file that
: kermit creates when it has a connection to a tty device. I'm trying
: to use that same lock, so that my tty program and kermit will respect
: each others locks and not access the same tty at the same time.
:
The name, location, permissions, owner, group, and contents of the
lock file depend on the operating system and version, and in some
cases also on the UUCP product and version. Usually the lockfile
contains Kermit's process ID (pid) as a text string, but sometimes as
a binary number. When it's a text string it might have leading blanks
or zero characters. When it's a binary number, it might have 2 or 4
or some other number of bytes.
The variations are endless, and depend on the whim and caprice of the
UUCP programmers for each UNIX variety, who are fond of making subtle
or not-so-subtle changes with every new release.
For more information about lock files, see:
ftp://kermit.columbia.edu/kermit/test/text/ckuins.txt
sections 10 and 11.
- Frank